<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/cases.css">
</head>
<body>
<div class="container">
    <{if $userid == 0 }><{include file="header.tpl"}><{else}><{include file="user_center_header.tpl"}><{/if}>
    <div class="main">
        <div><img src="../images/cases_banner.jpg" alt=""></div>
        <div class="main_nav">
            <ul>
                <li<{if $cid==0 }> style="background: #ffa72b;" <{/if}> ><a href="cases.php">所有分类</a></li>
                <{foreach $case_type as $item}>
                <li <{if $cid==$item.cid }> style="background: #ffa72b;" <{/if}> >
                    <a href="cases.php?cid=<{$item.cid}>"><{$item.cname}></a>
                </li>
                <{/foreach}>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="main_cases">
            <ul>
                <{foreach $cases as $item}>
                <li>
                    <a href="cases_defail.php?caseid=<{$item.caseid}>&cid=<{$cid}>&page=<{$page}>">
                        <img src="<{$cases_thumb}><{$item.thumb}>" alt="<{$item.title}>">
                    </a>
                    <p><a href="cases_defail.php?caseid=<{$item.caseid}>&cid=<{$cid}>&page=<{$page}>"><{$item.title}></a></p>
                </li>
                <{/foreach}>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="page_num">
            <div class="pages">
                <{$page_links}>
            </div>
        </div>
        <{include file="footer.tpl"}>
    </div>
</body>
</html>